<#macro Dialog id title>
    <div class="modal fade" id="${id}" data-backdrop="static" data-keyboard="false" role="dialog" tabindex="-1" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="${id}_title">${title}</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <#nested>
                </div>
                <div class="modal-footer">
                    <button id="c_${id}" type="button"  class="btn btn-secondary" data-dismiss="modal">关闭</button>
                    <button id="s_${id}" type="button" class="btn btn-primary">确认</button>
                </div>
            </div>
        </div>
    </div>
</#macro>